.class Lcom/instagram/android/login/b/ad;
.super Lcom/instagram/android/login/a/e;
.source "PasswordResetFragment.java"


# instance fields
.field final synthetic a:Lcom/instagram/android/login/b/y;


# direct methods
.method constructor <init>(Lcom/instagram/android/login/b/y;Landroid/support/v4/app/Fragment;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 133
    iput-object p1, p0, Lcom/instagram/android/login/b/ad;->a:Lcom/instagram/android/login/b/y;

    invoke-direct {p0, p2}, Lcom/instagram/android/login/a/e;-><init>(Landroid/support/v4/app/Fragment;)V

    return-void
.end method


# virtual methods
.method protected a(Lcom/instagram/android/d/j/j;)V
    .locals 1
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/instagram/android/d/j/j",
            "<",
            "Lcom/instagram/android/model/b/e;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 137
    if-eqz p1, :cond_0

    invoke-virtual {p1}, Lcom/instagram/android/d/j/j;->c()Lch/boye/httpclientandroidlib/StatusLine;

    move-result-object v0

    if-nez v0, :cond_1

    .line 138
    :cond_0
    sget v0, Lcom/facebook/ba;->request_error:I

    invoke-static {v0}, Lcom/instagram/n/j;->a(I)V

    .line 140
    :cond_1
    invoke-super {p0, p1}, Lcom/instagram/android/login/a/e;->a(Lcom/instagram/android/d/j/j;)V

    .line 141
    return-void
.end method

.method protected a(Lcom/instagram/android/model/b/e;)V
    .locals 2
    .parameter

    .prologue
    .line 145
    invoke-static {}, Lcom/instagram/service/a;->a()Lcom/instagram/service/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/service/a;->d()Z

    move-result v0

    if-nez v0, :cond_0

    .line 147
    invoke-super {p0, p1}, Lcom/instagram/android/login/a/e;->a(Lcom/instagram/android/model/b/e;)V

    .line 154
    :goto_0
    return-void

    .line 149
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/login/b/ad;->a:Lcom/instagram/android/login/b/y;

    invoke-virtual {v0}, Lcom/instagram/android/login/b/y;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->fragment_password_reset_button:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    .line 151
    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    .line 152
    sget v1, Lcom/facebook/ba;->password_changed:I

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(I)V

    goto :goto_0
.end method

.method protected bridge synthetic a(Ljava/lang/Object;)V
    .locals 0
    .parameter

    .prologue
    .line 133
    check-cast p1, Lcom/instagram/android/model/b/e;

    invoke-virtual {p0, p1}, Lcom/instagram/android/login/b/ad;->a(Lcom/instagram/android/model/b/e;)V

    return-void
.end method
